#include <iostream>
using namespace std;
int main(){
	int arr[]={2,6,4,1,6,8};
	int max=0;
	for(int i=0;i<6;i++){
		if (arr[i]>max){
			max=arr[i];
		}
	}
	cout<<max<<endl;
	return 0;
}
